package com.magupe.im.web.protocol.response;

public enum ResponseStatus{

    LOGIN_SUCCESS(StatusCode.LOGIN_SUCCESS, "login success"),
    LOGIN_USER_NOT_EXIST(StatusCode.LOGIN_USER_NOT_EXIST, "login user not exist"),

    MESSAGE_SEND_REPLY_SUCCESS(StatusCode.MESSAGE_SEND_REPLY_SUCCESS, "msg reply success"),
    MESSAGE_SEND_SUCCESS(StatusCode.MESSAGE_SEND_SUCCESS, "msg success"),

    GROUP_MESSAGE_SEND_REPLY_SUCCESS(StatusCode.GROUP_MESSAGE_SEND_REPLY_SUCCESS, "group msg reply success"),
    GROUP_MESSAGE_SEND_SUCCESS(StatusCode.GROUP_MESSAGE_SEND_SUCCESS, "group msg success"),

    IDLE_STATE(StatusCode.IDLE_STATE, "idle state");

    private Integer statusCode;

    private String message;

    ResponseStatus(Integer statusCode, String message) {
        this.statusCode = statusCode;
        this.message = message;
    }

    public void setStatusCode(Integer statusCode){
        this.statusCode = statusCode;
    }

    public int getStatusCode(){
        return statusCode;
    }

    public void setMessage(String message){
        this.message = message;
    }

    public String getMessage(){
        return message;
    }
}
